    <!-- 公共头部部分 -->
    <header>
        <div class="headPosition clearfix">
            <p class="welcome">欢迎！欢迎！</p>
            <a ng-hide="nav.isLogin()" href="javascript:;" class="load" data-toggle="modal" data-target="#myModal">登录/注册</a>
            <p ng-show="nav.isLogin()" class="load">Hello {{ nav.get('email') }}</p> 
        </div>
    </header>

    <!-- 登录弹层部分 -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-body">
                    ...
                </div>
                <div class="modal-footer">
                    <input type="text" id="username">
                    <input type="text" id="password">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary" ng-click="nav.login()">Save changes</button>
                </div>
            </div>
        </div>
    </div>
